
<?php
session_start();

	echo "<center>";
	include("Libraries/BusinessLogic/users.php");
		  if(isset($_SESSION["user"]))
		  {
		   echo "<center><h4><font color='red'>You are no longer logged in as </h4></font>".$_SESSION['user'];
		   logout();
		   echo "</BR/></BR/></BR/><a target='_parent' href='index.php'>HOME</a>";
		  }
		  else if(!isset($_SESSION["user"]))
		  {
			  echo "<center><h4><font color='red'>You must login first</h4></font>";
		  }
		  
?>